<?php

use Illuminate\Database\Seeder;

class BookTypeTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {


        \DB::table('book_type')->delete();

        \DB::table('book_type')->insert(array(
            0 =>
                array(
                    'id' => 1,
                    'name' => '男生',
                    'ico' => NULL,
                    'pid' => '0',
                    'model_id' => '1',
                    'sort' => '0',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
            1 =>
                array(
                    'id' => 2,
                    'name' => '女生',
                    'ico' => NULL,
                    'pid' => '0',
                    'model_id' => '1',
                    'sort' => '0',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
            2 =>
                array(
                    'id' => 3,
                    'name' => '都市',
                    'ico' => NULL,
                    'pid' => '1',
                    'model_id' => '1',
                    'sort' => '0',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
            3 =>
                array(
                    'id' => 4,
                    'name' => '玄幻',
                    'ico' => NULL,
                    'pid' => '1',
                    'model_id' => '1',
                    'sort' => '1',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
            4 =>
                array(
                    'id' => 5,
                    'name' => '游戏',
                    'ico' => NULL,
                    'pid' => '1',
                    'model_id' => '1',
                    'sort' => '2',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
            5 =>
                array(
                    'id' => 6,
                    'name' => '历史',
                    'ico' => NULL,
                    'pid' => '1',
                    'model_id' => '1',
                    'sort' => '3',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
            6 =>
                array(
                    'id' => 7,
                    'name' => '言情',
                    'ico' => NULL,
                    'pid' => '2',
                    'model_id' => '1',
                    'sort' => '1',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
            7 =>
                array(
                    'id' => 8,
                    'name' => '种田',
                    'ico' => NULL,
                    'pid' => '2',
                    'model_id' => '1',
                    'sort' => '2',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
            8 =>
                array(
                    'id' => 9,
                    'name' => '宫斗',
                    'ico' => NULL,
                    'pid' => '2',
                    'model_id' => '1',
                    'sort' => '3',
                    'status' => '1',
                    'created_at' => NULL,
                    'updated_at' => NULL,
                ),
        ));


    }
}
